﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Data.SqlClient;

public partial class systemconfig_delUpload : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request["Id"] != null)
        {
            string sqlText = "delete from TuPIanKu where Id = @Id";
            SqlParameter[] param = { new SqlParameter("@Id", SqlDbType.Int) };
            param[0].Value = Request.QueryString["Id"].ToString();
            int id = DbHelper.ExecuteNonQuery(CommandType.Text, sqlText, param);
            Response.Redirect("Upload_img.aspx");
        }
    }
}
